package com.siwei.mes.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.List;


/**
 * 对应上海协会上传数据表(ShxhSynchronizedata)实体类
 *
 * @author dmwang
 * @since 2024-06-29 20:33:48
 */
@Data
@Accessors(chain = true)
@Table(name = "pk_shxh_synchronizedata")
@ApiModel(value = "ShxhSynchronizedata", description = "对应上海协会上传数据表")
public class ShxhSynchronizedata implements Serializable {
    private static final long serialVersionUID = 559318752229117741L;
    /**
     * id
     */
    @Id
    @ApiModelProperty(value = "对应上海协会上传数据表主键ID", name = "id")
    private Long id;
    /**
     * 品控台账id
     */
    @Column(name = "experiment_id")
    @ApiModelProperty(value = "品控台账id", name = "experimentId")
    private Long experimentId;

    @ApiModelProperty(value = "品控台账id集合", name = "experimentIdList")
    private List<Long> experimentIdList;
    /**
     * 进场id
     */
    @Column(name = "import_id")
    @ApiModelProperty(value = "进场id", name = "importId")
    private String importId;
    /**
     * 批号用/等同于样品id
     */
    @Column(name = "sample_no")
    @ApiModelProperty(value = "批号用/等同于样品id", name = "sampleNo")
    private String sampleNo;
    /**
     * 台账id  协会委托编号
     */
    @Column(name = "consign_id")
    @ApiModelProperty(value = "台账id", name = "consignId")
    private String consignId;
    /**
     * 取样id  协会样品编号
     */
    @Column(name = "sample_id")
    @ApiModelProperty(value = "取样id", name = "sampleId")
    private String sampleId;
    /**
     * 完成状态（0未完成1已完成）
     */
    @Column(name = "finist_status")
    @ApiModelProperty(value = "完成状态（0未完成1已完成）", name = "finistStatus")
    private String finistStatus;
    /**
     * 失败原因
     */
    @Column(name = "reason")
    @ApiModelProperty(value = "上传失败原因", name = "reason")
    private String reason;

    @Column(name = "download_reason")
    @ApiModelProperty(value = "下载失败原因", name = "downloadReason")
    private String downloadReason;


}
